package com.momoauth.api_client.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

@Data
@DS("momo_auth")
@TableName("login_log")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Login_Log {
    @TableId(value = "logId", type = IdType.ASSIGN_ID)
    private Long logId;
    private String loginIp; //登录IP
    private Integer loginType; //登录类型 1.网页版
    private String loginUser; //登录用户
    private String loginTime; //登录时间
    @TableField(exist = false)
    private Integer currentPage; //页码
    @TableField(exist = false)
    private Long pageSize; //计数
}
